import Icon from './Icon'

const IconList = ({ icons }) => {
  return (
    <div className='d-flex flex-wrap justify-content-between'>
      {icons.map(([classNameString, text]) => (
        <Icon key={classNameString} {...{ classNameString, text }} />
      ))}
    </div>
  )
}

export default IconList
